package cn.sciento.transfer.domain.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.choerodon.mybatis.annotation.ModifyAudit;
import io.choerodon.mybatis.annotation.VersionAudit;
import io.choerodon.mybatis.domain.AuditDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.validator.constraints.NotBlank;

@ApiModel("数据核对批次")
@VersionAudit
@ModifyAudit
@Table(name = "hdtt_data_chk_batch")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DataChkBatch extends AuditDomain {
  public static final String ENCRYPT_KEY = "hdtt_data_chk_batch";
  
  public static final String FIELD_DATA_CHK_BATCH_ID = "dataChkBatchId";
  
  public static final String FIELD_BATCH_NUM = "batchNum";
  
  public static final String FIELD_CHK_LEVEL = "chkLevel";
  
  public static final String FIELD_REMARK = "remark";
  
  @ApiModelProperty("表ID，主键")
  @Id
  @GeneratedValue
  private Long dataChkBatchId;
  
  @ApiModelProperty(value = "批次编号，YYYYMMDDHHMMSS", required = true)
  @NotBlank
  private String batchNum;
  
  @ApiModelProperty(value = "核对层级，代码HDTT.DATA_CHK_LEVEL", required = true)
  @NotBlank
  private String chkLevel;
  
  @ApiModelProperty("备注说明")
  private String remark;
  
  public Long getDataChkBatchId() {
    return this.dataChkBatchId;
  }
  
  public void setDataChkBatchId(Long dataChkBatchId) {
    this.dataChkBatchId = dataChkBatchId;
  }
  
  public String getBatchNum() {
    return this.batchNum;
  }
  
  public void setBatchNum(String batchNum) {
    this.batchNum = batchNum;
  }
  
  public String getChkLevel() {
    return this.chkLevel;
  }
  
  public void setChkLevel(String chkLevel) {
    this.chkLevel = chkLevel;
  }
  
  public String getRemark() {
    return this.remark;
  }
  
  public void setRemark(String remark) {
    this.remark = remark;
  }
}
